package top.juntower.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 食物搭配
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("食物搭配")
public class FoodMatching {
    @ApiModelProperty("食物搭配Id")
    private Integer fmId;
    @ApiModelProperty("食物搭配标题")
    private String fmtitle;
    @ApiModelProperty("食物搭配图片")
    private String fmImg;
    @ApiModelProperty("食物搭配内容")
    private String fmContent;
    @ApiModelProperty("食物搭配访问量")
    private String fmVisits;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @ApiModelProperty("食物搭配时间")
    private Date fmDate;
    @ApiModelProperty("食物搭配状态（1 存在 0 不存在）")
    private Integer fmState;
}
